/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.json.database;

import com.json.bean.User;

/**
 *
 * @author json
 */
public class Test {
    public static void main(String[] args) {
         User user =new User();
         UserDao userdao= new UserDao();
         String username="dsdsds";
       user =  userdao.getOneUser(username);
        System.out.println("ID:"+user.getId());
        System.out.println("username:"+user.getUsername());
        System.out.println("pass:"+user.getPass());
         
    }
}
